package com.yonyou.cyxdms.basedata.service.entity.salestaskset;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yonyou.cyxdms.framework.bean.entity.base.DMSBasePO;

/**
 * <p>
 *  销售顾问 - 销售目标设置PO
 * </p>
 * @author：chenzb
 * @since：2019-11-17
 */
@TableName("tt_sales_task_set")
public class SalesTaskSetPO extends DMSBasePO<SalesTaskSetPO> {

    private static final long serialVersionUID = 1L;

    /**
     * 任务ID
     */
    @TableId(value = "TASK_ID", type = IdType.AUTO)
    private Long taskId;

    /**
     * 考核时间
     */
    @TableField("CHECK_DATE")
    private String checkDate;

    /**
     * 销售顾问Id
     */
    @TableField("CONSULTANT_ID")
    private String consultantId;

    /**
     * 任务量（总台次）
     */
    @TableField("TASK_COUNT")
    private Integer taskCount;

    /**
     * 金融（渗透率）
     */
    @TableField("FINANCIAL_RATIO")
    private Double financialRatio;

    /**
     * 保险（渗透率）
     */
    @TableField("INSURANCE_RATIO")
    private Double insuranceRatio;

    /**
     * 精品（金额） -> 装潢金额 renovationAmount
     */
    @TableField("RENOVATION_AMOUNT")
    private Double renovationAmount;

    /**
     * 上牌（渗透率）
     */
    @TableField("LICENCE_RATIO")
    private Double licenceRatio;

    /**
     * APP_ID
     */
    @TableField("APP_ID")
    private String appId;

    /**
     * 公司代码
     */
    @TableField("COMPANY_CODE")
    private String companyCode;

    /**
     * 所有者代码
     */
    @TableField("OWNER_CODE")
    private String ownerCode;

    /**
     * 所有者的父组织代码（用于二网使用）
     */
    @TableField("OWNER_PAR_CODE")
    private String ownerParCode;

    public Long getTaskId() {
        return taskId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }

    public String getCheckDate() {
        return checkDate;
    }

    public void setCheckDate(String checkDate) {
        this.checkDate = checkDate;
    }

    public String getConsultantId() {
        return consultantId;
    }

    public void setConsultantId(String consultantId) {
        this.consultantId = consultantId;
    }

    public Integer getTaskCount() {
        return taskCount;
    }

    public void setTaskCount(Integer taskCount) {
        this.taskCount = taskCount;
    }

    public Double getFinancialRatio() {
        return financialRatio;
    }

    public void setFinancialRatio(Double financialRatio) {
        this.financialRatio = financialRatio;
    }

    public Double getInsuranceRatio() {
        return insuranceRatio;
    }

    public void setInsuranceRatio(Double insuranceRatio) {
        this.insuranceRatio = insuranceRatio;
    }

    public Double getRenovationAmount() {
        return renovationAmount;
    }

    public void setRenovationAmount(Double renovationAmount) {
        this.renovationAmount = renovationAmount;
    }

    public Double getLicenceRatio() {
        return licenceRatio;
    }

    public void setLicenceRatio(Double licenceRatio) {
        this.licenceRatio = licenceRatio;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    public String getOwnerCode() {
        return ownerCode;
    }

    public void setOwnerCode(String ownerCode) {
        this.ownerCode = ownerCode;
    }

    public String getOwnerParCode() {
        return ownerParCode;
    }

    public void setOwnerParCode(String ownerParCode) {
        this.ownerParCode = ownerParCode;
    }
}
